
import request from '@/utils/request'
export function list(data) {
  return request({
    url: '/system/message/list',
    method: 'post',
    data: data
  })
}
export function remove(data) {
  return request({
    url: '/system/message/delete',
    method: 'post',
    data: { deleteIds: data }
  })
}
export function listPage(data) {
  return request({
    url: '/system/message/listByType',
    method: 'post',
    data: data
  })
}
export function messageRead(data) {
  return request({
    url: '/system/message/messageRead',
    method: 'post',
    data: { ids: data }
  })
}
export function messageEmpty(data) {
  return request({
    url: '/system/message/messageEmpty',
    method: 'post',
    data: { ids: data }
  })
}
export function messageEmptyV2(data) {
  return request({
    url: '/system/message/messageEmptyV2',
    method: 'post',
    data: { ids: data }
  })
}
